function Trig_Create_Native_Dinos_Actions takes nothing returns nothing
	local integer dinoAmount = udg_AmountOfPlayers * 2
	local integer whichDino = 0
	local location spawnLocation = null
	local location survivorLocation = GetUnitLoc(udg_Survivors[0])
	//--
	loop
		exitwhen whichDino >= dinoAmount
		loop
			set spawnLocation = GetRandomLocInRect(GetPlayableMapRect())
			exitwhen DistanceBetweenPoints(spawnLocation , survivorLocation) > 3000.0
			call RemoveLocation(spawnLocation)
		endloop
		call CreateDinoGeneral(GetRandomDinoType() , spawnLocation)
		call RemoveLocation(spawnLocation)
		set whichDino = whichDino + 1
	endloop
	call RemoveLocation(survivorLocation)
	//--
	set spawnLocation = null
	set survivorLocation = null
endfunction

function InitTrig_Create_Native_Dinos takes nothing returns nothing
	set gg_trg_Create_Native_Dinos = CreateTrigger()
	call TriggerAddAction(gg_trg_Create_Native_Dinos , function Trig_Create_Native_Dinos_Actions)
endfunction